Release 10.1A: OpenEdge Development:
Progress Dynamics Web Development Guide


Client logic functions

Table 6–1 contains a list of the client logic functions that can be used for DHTML applications. For complete information, including examples, see OpenEdge Development: ADM Reference . Information about these functions is also available in the Progress Dynamics AppBuilder online help.

Table 6–1: List of client logic API functions
Function
Description
assignFocusedWidget
Sets focus to the named object. 
assignWidgetValue
Takes the name of one object and a character screen value as input and sets the SCREEN-VALUE of the object.
assignWidgetValueList
Takes the name of one or more objects and character screen values and a delimiter as input and sets the SCREEN-VALUE of the objects.
blankWidget
Blanks the SCREEN-VALUE of the objects in the namelist.
disableWidget
Disables the objects identified in the namelist.
enableWidget
Enables the objects identified in the namelist.
formattedWidgetValue
Returns the SCREEN-VALUE of the object, or in the case of a browse column when in a ROW-DISPLAY trigger, the STRING-VALUE from the RowObject buffer field.
formattedWidgetValueList
Takes the name of one or more objects and returns the SCREEN-VALUE of the object or objects.
hideWidget
Hides the objects identified in the namelist (and their pop-up buttons).
highlightWidget
Sets the background and foreground colors (FGCOLOR and BGCOLOR widget attributes) of the named objects to a standard highlight color, depending on the value of the highlightType argument.
toggleWidget
Reverses the value of one or more objects of type LOGICAL in the namelist.
viewWidget
Views the objects identified in the namelist (and their pop-up buttons).
widgetHandle
Returns the handle of the requested object.
Caution: Future versions of Progress Dynamics might not automatically migrate calls to this function. Try to avoid using it. If you do use it, keep track of its use so that you can quickly locate potential migration issues later.

widgetIsBlank
Returns TRUE if the widget is blank, otherwise FALSE.
widgetIsTrue
Returns TRUE if the value of a LOGICAL object is TRUE, otherwise FALSE.
widgetValue
For most objects, returns the INPUT-VALUE of the object.
widgetValueList
Takes the name of one or more objects and a delimiter and returns the INPUT-VALUE of the object.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095